function display_markdown(path)
{
	var xmlhttp;
	if (window.XMLHttpRequest)  // IE7+, Firefox, Chrome, Opera, Safari
	{
		xmlhttp=new XMLHttpRequest();
	}
	else  // IE6, IE5
	{
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4 && xmlhttp.status==200)
		{
			var text = xmlhttp.responseText;
			var converter = new showdown.Converter({tables: true});
			var html = converter.makeHtml(text);
			document.getElementById("markdown-container").innerHTML = html;

			set_image_onclick();
		}
	}
	xmlhttp.open("GET", path, true);
	xmlhttp.send();
}
